.TH "GAMMU-SMSD-INJECT" "1" "June 27, 2012" "1.32.0" "Gammu"
.SH NAME
gammu-smsd-inject \- Inject messages into queue of SMS daemon for Gammu
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.\" Man page generated from reStructeredText.
.
.SH SYNOPSIS
.sp
.nf
.ft C
gammu\-smsd\-inject [OPTION]... MESSAGETYPE RECIPIENT [MESSAGE_PARAMETER]...
.ft P
.fi
.SH DESCRIPTION
.sp
This manual page documents briefly the \fBgammu\-smsd\-inject\fP command.
.sp
\fBgammu\-smsd\-inject\fP is a program that enqueues message in Gammu SMS
Daemon, which will be later sent by the daemon using connected GSM modem.
.sp
Support for this program depends on features available in currently used SMSD
service backend, however currently it is supported by all of them.
.sp
Program accepts following options (please note that long options might be not
accepted on some platforms):
.INDENT 0.0
.TP
.B \-h, \-\-help
Shows help.
.UNINDENT
.INDENT 0.0
.TP
.B \-v, \-\-version
Shows version information and compiled in features.
.UNINDENT
.INDENT 0.0
.TP
.B \-c, \-\-config=file
Configuration file to use, default is /etc/gammu\-smsdrc, on Windows there
is no default and configuration file path has to be always specified.
.UNINDENT
.INDENT 0.0
.TP
.B \-l, \-\-use\-log
Use logging as configured in config file.
.UNINDENT
.INDENT 0.0
.TP
.B \-L, \-\-no\-use\-log
Do not use logging as configured in config file (default).
.UNINDENT
.sp
For description of message types and their parameters, please check documentation
for \fIgammu savesms\fP.
.SH EXAMPLES
.sp
To check it out, you need to have configuration file for SMSD, see
\fIgammu\-smsdrc\fP for more details about it.
.sp
Inject text message up to standard 160 chars:
.sp
.nf
.ft C
echo "All your base are belong to us" | gammu\-smsd\-inject TEXT 123456
.ft P
.fi
.sp
or
.sp
.nf
.ft C
gammu\-smsd\-inject TEXT 123456 \-text "All your base are belong to us"
.ft P
.fi
.sp
Inject long text message:
.sp
.nf
.ft C
echo "All your base are belong to us" | gammu\-smsd\-inject TEXT 123456 \-len 400
.ft P
.fi
.sp
or
.sp
.nf
.ft C
gammu\-smsd\-inject TEXT 123456 \-len 400 \-text "All your base are belong to us"
.ft P
.fi
.sp
or
.sp
.nf
.ft C
gammu\-smsd\-inject EMS 123456 \-text "All your base are belong to us"
.ft P
.fi
.sp
Inject some funky message with predefined sound and animation from 2 bitmaps:
.sp
.nf
.ft C
gammu\-smsd\-inject EMS 123456 \-text "Greetings" \-defsound 1 \-text "from Gammu" \-tone10 axelf.txt \-animation 2 file1.bmp file2.bmp
.ft P
.fi
.sp
Inject protected message with ringtone:
.sp
.nf
.ft C
gammu\-smsd\-inject EMS 123456 \-protected 2 \-variablebitmaplong ala.bmp \-toneSElong axelf.txt \-toneSE ring.txt
.ft P
.fi
.SH AUTHOR
Michal Čihař <michal@cihar.com>
.SH COPYRIGHT
2009-2012, Michal Čihař <michal@cihar.com>
.\" Generated by docutils manpage writer.
.\" 
.
